package com.sharding.jdbc.dao;


import com.sharding.jdbc.model.Role;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMapper {
	void createIfNotExistsTable();
	/**
	 * 保存角色
	 *
	 * @param role Role
	 * @return long(主键)
	 */
	void insertRole(Role role);

}